package com.mall;

public class CartItem {

	private Goods goods;
	private int quantity;
	
	
	public CartItem() {
		super();
	}
	public CartItem(Goods goods, int quantity) {
		super();
		this.goods = goods;
		this.quantity = quantity;
	}
	public Goods getGoods() {
		return goods;
	}
	public void setGoods(Goods goods) {
		this.goods = goods;
	}
	public int getQuantity() {
		return quantity;
	}
	public void setQuantity(int quantity) {
		this.quantity = quantity;
	}
	
}
